Tests\Module\Checkout\SessionServiceTest S

Total Complexity 10
Dependencies 2
Dependents 0
Total lines 163
Lines of code 125
Logical lines of code 37
Comment lines 0
Methods 10
Properties 2

Methods 10

Method Rating Maintainability Complexity Lines of code
testFilterUpdateShippingPackagesWithPaymentMethod()
S
55 1 25
testFilterUpdateShippingPackagesWithoutPaymentMethod()
S
55 1 25
testActionUpdateShippingRates()
S
61 1 15
testGetChosenMethodFromSession()
S
64 1 11
testGetChosenMethodFromSessionWithNoShippingMethods()
S
64 1 11
testGetChosenMethodFromSessionWithFalseShippingMethod()
S
64 1 11
createSessionServiceMock()
S
76 1 4
testGetChosenMethodFromSessionWithoutSession()
S
70 1 7
testGetChosenPaymentMethodChosen()
S
68 1 8
testGetChosenPaymentMethodNotChosen()
S
68 1 8